<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bluetooth Host Stack Library: Common</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Bluetooth Host Stack Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__l2cap__common__api__functions.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Common<div class="ingroups"><a class="el" href="group__l2cap.html">Logical Link Control and Adaptation Protocol (L2CAP)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>Commonly used API's for both BE/EDR and LE <a class="el" href="group__l2cap.html">L2CAP</a>. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gae9a06f8b983a720ef8f052bbaa823ad6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#gae9a06f8b983a720ef8f052bbaa823ad6">wiced_bt_l2cap_register_fixed_channel</a> (uint16_t fixed_cid, <a class="el" href="structwiced__bt__l2cap__fixed__chnl__reg__t.html">wiced_bt_l2cap_fixed_chnl_reg_t</a> *p_freg)</td></tr>
<tr class="memdesc:gae9a06f8b983a720ef8f052bbaa823ad6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a fixed channel.  <a href="#gae9a06f8b983a720ef8f052bbaa823ad6">More...</a><br /></td></tr>
<tr class="separator:gae9a06f8b983a720ef8f052bbaa823ad6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6c839df6fd0717659e0c1758c44f9e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#gab6c839df6fd0717659e0c1758c44f9e6">wiced_bt_l2cap_deregister_fixed_channel</a> (uint16_t fixed_cid)</td></tr>
<tr class="memdesc:gab6c839df6fd0717659e0c1758c44f9e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">De-register a fixed channel.  <a href="#gab6c839df6fd0717659e0c1758c44f9e6">More...</a><br /></td></tr>
<tr class="separator:gab6c839df6fd0717659e0c1758c44f9e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga306455f38d2becd14fdaa0c2298aa511"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga306455f38d2becd14fdaa0c2298aa511">wiced_bt_l2cap_connect_fixed_chnl</a> (uint16_t fixed_cid, <a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, <a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a> ble_addr_type)</td></tr>
<tr class="memdesc:ga306455f38d2becd14fdaa0c2298aa511"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connect an fixed signalling channel to a remote device.  <a href="#ga306455f38d2becd14fdaa0c2298aa511">More...</a><br /></td></tr>
<tr class="separator:ga306455f38d2becd14fdaa0c2298aa511"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaac3977d50dff78f8cf766a5921c784a"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#gaaac3977d50dff78f8cf766a5921c784a">wiced_bt_l2cap_send_fixed_chnl_data</a> (uint16_t fixed_cid, <a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> rem_bda, uint8_t *p_data, uint16_t data_len)</td></tr>
<tr class="memdesc:gaaac3977d50dff78f8cf766a5921c784a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write data on a fixed signalling channel.  <a href="#gaaac3977d50dff78f8cf766a5921c784a">More...</a><br /></td></tr>
<tr class="separator:gaaac3977d50dff78f8cf766a5921c784a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafbddfd71d35ac472aa4116d9291a09e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#gafbddfd71d35ac472aa4116d9291a09e1">wiced_bt_l2cap_remove_fixed_chnl</a> (uint16_t fixed_cid, <a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> rem_bda)</td></tr>
<tr class="memdesc:gafbddfd71d35ac472aa4116d9291a09e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove a fixed channel to a remote device.  <a href="#gafbddfd71d35ac472aa4116d9291a09e1">More...</a><br /></td></tr>
<tr class="separator:gafbddfd71d35ac472aa4116d9291a09e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga728a05e414212f3fa6a62b602d0eccb9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga728a05e414212f3fa6a62b602d0eccb9">wiced_bt_l2cap_set_fixed_channel_timeout</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> rem_bda, uint16_t fixed_cid, uint16_t idle_timeout)</td></tr>
<tr class="memdesc:ga728a05e414212f3fa6a62b602d0eccb9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to set the idle timeout for a fixed channel.  <a href="#ga728a05e414212f3fa6a62b602d0eccb9">More...</a><br /></td></tr>
<tr class="separator:ga728a05e414212f3fa6a62b602d0eccb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga19fedef3a0ab3ec2b155aefd73d4eb9e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga19fedef3a0ab3ec2b155aefd73d4eb9e">wiced_bt_l2cap_ecrb_register</a> (uint16_t psm, <a class="el" href="structwiced__bt__l2cap__ecrb__cb__ptrs__t.html">wiced_bt_l2cap_ecrb_cb_ptrs_t</a> *p_ecrb_callbacks)</td></tr>
<tr class="memdesc:ga19fedef3a0ab3ec2b155aefd73d4eb9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Application calls this function to register support for enhanced credit-based channels.  <a href="#ga19fedef3a0ab3ec2b155aefd73d4eb9e">More...</a><br /></td></tr>
<tr class="separator:ga19fedef3a0ab3ec2b155aefd73d4eb9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga759cb1c76bec995a078fde74b3663deb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga759cb1c76bec995a078fde74b3663deb">wiced_bt_l2cap_ecrb_deregister</a> (uint16_t psm)</td></tr>
<tr class="memdesc:ga759cb1c76bec995a078fde74b3663deb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Application calls this function to deregister support for enhanced credit-based channels.  <a href="#ga759cb1c76bec995a078fde74b3663deb">More...</a><br /></td></tr>
<tr class="separator:ga759cb1c76bec995a078fde74b3663deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga002c9dd41a84dffb8c9f8330be128e9d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga002c9dd41a84dffb8c9f8330be128e9d">wiced_bt_l2cap_ecrb_connect_req</a> (uint16_t psm, <a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a> transport, <a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, <a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a> bd_addr_type, <a class="el" href="group__wicedbt___device_management.html#ga4309edd4a7a1c7f30bdc57d8107e84ab">wiced_bt_ble_conn_mode_t</a> conn_mode, uint16_t our_rx_mtu, uint16_t our_rx_mps, int num_channels, <a class="el" href="structt_d_r_b.html">tDRB</a> **p_rx_drb_list, <a class="el" href="group__bt__types.html#gaff3eb04924fbda24d4efd4285c7da1bc">wiced_bt_ecrb_cid_list_t</a> lcid_list)</td></tr>
<tr class="memdesc:ga002c9dd41a84dffb8c9f8330be128e9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to create up to 5 credit-based L2CAP connections on the same PSM.  <a href="#ga002c9dd41a84dffb8c9f8330be128e9d">More...</a><br /></td></tr>
<tr class="separator:ga002c9dd41a84dffb8c9f8330be128e9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga536ec7f339490e662fffcd11a2525a5d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga536ec7f339490e662fffcd11a2525a5d">wiced_bt_l2cap_ecrb_ConnectRsp</a> (uint16_t result, uint8_t trans_id, int16_t our_rx_mtu, uint16_t our_rx_mps, <a class="el" href="group__bt__types.html#gaff3eb04924fbda24d4efd4285c7da1bc">wiced_bt_ecrb_cid_list_t</a> lcid_list, <a class="el" href="structt_d_r_b.html">tDRB</a> **p_rx_drb_list)</td></tr>
<tr class="memdesc:ga536ec7f339490e662fffcd11a2525a5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to accept incoming Enhanced Credit-based L2CAP channel establishment, for which they had gotten a connect indication callback.  <a href="#ga536ec7f339490e662fffcd11a2525a5d">More...</a><br /></td></tr>
<tr class="separator:ga536ec7f339490e662fffcd11a2525a5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ca1d8190c10328fb06b68573fb88ac3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga1ca1d8190c10328fb06b68573fb88ac3">wiced_bt_l2cap_ecrb_reconfigure</a> (uint16_t new_rx_mtu, int16_t new_rx_mps, int num_channels, <a class="el" href="group__bt__types.html#gaff3eb04924fbda24d4efd4285c7da1bc">wiced_bt_ecrb_cid_list_t</a> lcid_list, <a class="el" href="structt_d_r_b.html">tDRB</a> **p_rx_drb_list)</td></tr>
<tr class="memdesc:ga1ca1d8190c10328fb06b68573fb88ac3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to reconfigure the MTU and or MPS of Enhanced Credit-based L2CAP channels.  <a href="#ga1ca1d8190c10328fb06b68573fb88ac3">More...</a><br /></td></tr>
<tr class="separator:ga1ca1d8190c10328fb06b68573fb88ac3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d963f266263672e7a672c27a21cc711"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga4d963f266263672e7a672c27a21cc711">wiced_bt_l2cap_get_current_config</a> (uint16_t lcid, <a class="el" href="structwiced__bt__l2cap__cfg__information__t.html">wiced_bt_l2cap_cfg_information_t</a> **pp_our_cfg, <a class="el" href="group__l2cap.html#ga6827dfd644f1172740f9e69c0df06bc9">wiced_bt_l2cap_ch_cfg_bits_t</a> *p_our_cfg_bits, <a class="el" href="structwiced__bt__l2cap__cfg__information__t.html">wiced_bt_l2cap_cfg_information_t</a> **pp_peer_cfg, <a class="el" href="group__l2cap.html#ga6827dfd644f1172740f9e69c0df06bc9">wiced_bt_l2cap_ch_cfg_bits_t</a> *p_peer_cfg_bits)</td></tr>
<tr class="memdesc:ga4d963f266263672e7a672c27a21cc711"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns configurations of L2CAP channel.  <a href="#ga4d963f266263672e7a672c27a21cc711">More...</a><br /></td></tr>
<tr class="separator:ga4d963f266263672e7a672c27a21cc711"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb82303005eb9c2c60358f49c3308455"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#gabb82303005eb9c2c60358f49c3308455">wiced_bt_l2cap_register</a> (uint16_t psm, <a class="el" href="structwiced__bt__l2cap__appl__information__t.html">wiced_bt_l2cap_appl_information_t</a> *p_cb_information)</td></tr>
<tr class="memdesc:gabb82303005eb9c2c60358f49c3308455"><td class="mdescLeft">&#160;</td><td class="mdescRight">Other layers call this function to register for L2CAP services.  <a href="#gabb82303005eb9c2c60358f49c3308455">More...</a><br /></td></tr>
<tr class="separator:gabb82303005eb9c2c60358f49c3308455"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c7c609b52d8cc676006e7a9fc28f8f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga4c7c609b52d8cc676006e7a9fc28f8f5">wiced_bt_l2cap_deregister</a> (uint16_t psm)</td></tr>
<tr class="memdesc:ga4c7c609b52d8cc676006e7a9fc28f8f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Other layers call this function to deregister for L2CAP services.  <a href="#ga4c7c609b52d8cc676006e7a9fc28f8f5">More...</a><br /></td></tr>
<tr class="separator:ga4c7c609b52d8cc676006e7a9fc28f8f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6cf452fa369a74b725afe2bf2917abbb"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga6cf452fa369a74b725afe2bf2917abbb">wiced_bt_l2cap_allocate_psm</a> (void)</td></tr>
<tr class="memdesc:ga6cf452fa369a74b725afe2bf2917abbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Other layers call this function to find an unused PSM for L2CAP services.  <a href="#ga6cf452fa369a74b725afe2bf2917abbb">More...</a><br /></td></tr>
<tr class="separator:ga6cf452fa369a74b725afe2bf2917abbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacdd50150646f5c2b687cc631c10086f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#gacdd50150646f5c2b687cc631c10086f8">wiced_bt_l2cap_disconnect_req</a> (uint16_t cid)</td></tr>
<tr class="memdesc:gacdd50150646f5c2b687cc631c10086f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to disconnect a channel.  <a href="#gacdd50150646f5c2b687cc631c10086f8">More...</a><br /></td></tr>
<tr class="separator:gacdd50150646f5c2b687cc631c10086f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga65566b353208f4de37cc91625a4abcbf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga65566b353208f4de37cc91625a4abcbf">wiced_bt_l2cap_disconnect_rsp</a> (uint16_t cid)</td></tr>
<tr class="memdesc:ga65566b353208f4de37cc91625a4abcbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to acknowledge the disconnection of a channel.  <a href="#ga65566b353208f4de37cc91625a4abcbf">More...</a><br /></td></tr>
<tr class="separator:ga65566b353208f4de37cc91625a4abcbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2cd224a6bc467d85d853540f8abdec5e"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga2cd224a6bc467d85d853540f8abdec5e">wiced_bt_l2cap_data_write</a> (uint16_t cid, uint8_t *p_buf, uint16_t buf_len, uint16_t flags)</td></tr>
<tr class="memdesc:ga2cd224a6bc467d85d853540f8abdec5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to write data with extended.  <a href="#ga2cd224a6bc467d85d853540f8abdec5e">More...</a><br /></td></tr>
<tr class="separator:ga2cd224a6bc467d85d853540f8abdec5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaff27f5b67e8050fe84916d3a67006a50"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#gaff27f5b67e8050fe84916d3a67006a50">wiced_bt_l2cap_set_idle_timeout</a> (uint16_t cid, uint16_t timeout, <a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> is_global)</td></tr>
<tr class="memdesc:gaff27f5b67e8050fe84916d3a67006a50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to set the idle timeout for a connection, or for all future connections.  <a href="#gaff27f5b67e8050fe84916d3a67006a50">More...</a><br /></td></tr>
<tr class="separator:gaff27f5b67e8050fe84916d3a67006a50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9834af87f6f31578b7095bdb4e55e459"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#ga9834af87f6f31578b7095bdb4e55e459">wiced_bt_l2cap_set_idle_timeout_by_bd_addr</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, uint16_t timeout, <a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a> transport)</td></tr>
<tr class="memdesc:ga9834af87f6f31578b7095bdb4e55e459"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to set the idle timeout for a connection.  <a href="#ga9834af87f6f31578b7095bdb4e55e459">More...</a><br /></td></tr>
<tr class="separator:ga9834af87f6f31578b7095bdb4e55e459"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaebb8e6a7ac8add5164c86871af99747e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__common__api__functions.html#gaebb8e6a7ac8add5164c86871af99747e">wiced_bt_l2cap_get_bdaddrby_handle</a> (uint16_t handle, <a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr)</td></tr>
<tr class="memdesc:gaebb8e6a7ac8add5164c86871af99747e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get BD address for the given HCI handle.  <a href="#gaebb8e6a7ac8add5164c86871af99747e">More...</a><br /></td></tr>
<tr class="separator:gaebb8e6a7ac8add5164c86871af99747e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="gae9a06f8b983a720ef8f052bbaa823ad6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae9a06f8b983a720ef8f052bbaa823ad6">&#9670;&nbsp;</a></span>wiced_bt_l2cap_register_fixed_channel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_register_fixed_channel </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>fixed_cid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structwiced__bt__l2cap__fixed__chnl__reg__t.html">wiced_bt_l2cap_fixed_chnl_reg_t</a> *&#160;</td>
          <td class="paramname"><em>p_freg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Register a fixed channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fixed_cid</td><td>: Fixed Channel # </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_freg</td><td>: Channel Callbacks and config</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if registered OK </dd></dl>

</div>
</div>
<a id="gab6c839df6fd0717659e0c1758c44f9e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab6c839df6fd0717659e0c1758c44f9e6">&#9670;&nbsp;</a></span>wiced_bt_l2cap_deregister_fixed_channel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_deregister_fixed_channel </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>fixed_cid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>De-register a fixed channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fixed_cid</td><td>: Fixed Channel #</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if registered OK </dd></dl>

</div>
</div>
<a id="ga306455f38d2becd14fdaa0c2298aa511"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga306455f38d2becd14fdaa0c2298aa511">&#9670;&nbsp;</a></span>wiced_bt_l2cap_connect_fixed_chnl()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_connect_fixed_chnl </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>fixed_cid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a>&#160;</td>
          <td class="paramname"><em>ble_addr_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Connect an fixed signalling channel to a remote device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fixed_cid</td><td>: Fixed CID </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: BD Address of remote </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">ble_addr_type</td><td>: Address type</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if connection started </dd></dl>

</div>
</div>
<a id="gaaac3977d50dff78f8cf766a5921c784a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaac3977d50dff78f8cf766a5921c784a">&#9670;&nbsp;</a></span>wiced_bt_l2cap_send_fixed_chnl_data()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t wiced_bt_l2cap_send_fixed_chnl_data </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>fixed_cid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>rem_bda</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>data_len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write data on a fixed signalling channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fixed_cid</td><td>: Fixed CID </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rem_bda</td><td>: BD Address of remote </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_data</td><td>: Pointer to data to send </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">data_len</td><td>: Length of data to send</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>L2CAP_DATAWRITE_SUCCESS, if data accepted L2CAP_DATAWRITE_FAILED, if error </dd></dl>

</div>
</div>
<a id="gafbddfd71d35ac472aa4116d9291a09e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafbddfd71d35ac472aa4116d9291a09e1">&#9670;&nbsp;</a></span>wiced_bt_l2cap_remove_fixed_chnl()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_remove_fixed_chnl </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>fixed_cid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>rem_bda</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Remove a fixed channel to a remote device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fixed_cid</td><td>: Fixed CID </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rem_bda</td><td>: BD Address of remote Idle timeout to use (or 0xFFFF if don't care)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if channel removed </dd></dl>

</div>
</div>
<a id="ga728a05e414212f3fa6a62b602d0eccb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga728a05e414212f3fa6a62b602d0eccb9">&#9670;&nbsp;</a></span>wiced_bt_l2cap_set_fixed_channel_timeout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_set_fixed_channel_timeout </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>rem_bda</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>fixed_cid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>idle_timeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to set the idle timeout for a fixed channel. </p>
<p>The "idle timeout" is the amount of time that a connection can remain up with no L2CAP channels on it. A timeout of zero means that the connection will be torn down immediately when the last channel is removed. A timeout of 0xFFFF means no timeout. Values are in seconds. A bd_addr is the remote BD address. If bd_addr = BT_BD_ANY, then the idle timeouts for all active l2cap links will be changed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">rem_bda</td><td>: Remote BD address </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fixed_cid</td><td>: Fixed CID </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">idle_timeout</td><td>: Idle timeout</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if command succeeded, FALSE if failed </dd></dl>

</div>
</div>
<a id="ga19fedef3a0ab3ec2b155aefd73d4eb9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga19fedef3a0ab3ec2b155aefd73d4eb9e">&#9670;&nbsp;</a></span>wiced_bt_l2cap_ecrb_register()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_ecrb_register </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>psm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structwiced__bt__l2cap__ecrb__cb__ptrs__t.html">wiced_bt_l2cap_ecrb_cb_ptrs_t</a> *&#160;</td>
          <td class="paramname"><em>p_ecrb_callbacks</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Application calls this function to register support for enhanced credit-based channels. </p>
<p>The PSM must have been previously registered for BR and/or LE.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">psm</td><td>: PSM value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_ecrb_callbacks</td><td>: callbacks for the credit based channel connections</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>WICED_TRUE if all ok </dd></dl>

</div>
</div>
<a id="ga759cb1c76bec995a078fde74b3663deb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga759cb1c76bec995a078fde74b3663deb">&#9670;&nbsp;</a></span>wiced_bt_l2cap_ecrb_deregister()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_ecrb_deregister </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>psm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Application calls this function to deregister support for enhanced credit-based channels. </p>
<p>The PSM must have been previously registered.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">psm</td><td>PSM value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>WICED_TRUE if all OK. </dd></dl>

</div>
</div>
<a id="ga002c9dd41a84dffb8c9f8330be128e9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga002c9dd41a84dffb8c9f8330be128e9d">&#9670;&nbsp;</a></span>wiced_bt_l2cap_ecrb_connect_req()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int wiced_bt_l2cap_ecrb_connect_req </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>psm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a>&#160;</td>
          <td class="paramname"><em>transport</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wicedbt___device_management.html#ga4309edd4a7a1c7f30bdc57d8107e84ab">wiced_bt_ble_conn_mode_t</a>&#160;</td>
          <td class="paramname"><em>conn_mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>our_rx_mtu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>our_rx_mps</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>num_channels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structt_d_r_b.html">tDRB</a> **&#160;</td>
          <td class="paramname"><em>p_rx_drb_list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gaff3eb04924fbda24d4efd4285c7da1bc">wiced_bt_ecrb_cid_list_t</a>&#160;</td>
          <td class="paramname"><em>lcid_list</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to create up to 5 credit-based L2CAP connections on the same PSM. </p>
<dl class="section note"><dt>Note</dt><dd>The connection is not established at this time, but connection establishment gets started. The callback function will be invoked when connection establishes or fails.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">psm</td><td>PSM Value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">transport</td><td>Bluetooth transport for the connection </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: Bluetooth device address to connect </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr_type</td><td>BLE_ADDR_PUBLIC or BLE_ADDR_RANDOM </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">conn_mode</td><td>: LE connection mode </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">our_rx_mtu</td><td>Our RX MTU to be used for the channels </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">our_rx_mps</td><td>Our RX MPS to be used for the channels </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd><code>our_rx_mps</code> must be less then <a class="el" href="structwiced__bt__cfg__ble__t.html#aff4b2166af3a3a1c01b4a1a01950139d">wiced_bt_cfg_ble_t::ble_max_rx_pdu_size</a> or <a class="el" href="structwiced__bt__cfg__br__t.html#a88a90b0eb26296fb9726344a1da02dde">wiced_bt_cfg_br_t::br_max_rx_pdu_size</a> for LE and BR/EDR transports respectively </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">num_channels</td><td>: Number of channels to be created </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_rx_drb_list</td><td>list of the allocated <a class="el" href="structt_d_r_b.html">tDRB</a> 's, one for each <code>num_channels</code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>: the size of DRB allocated must be &gt;= <code>our_rx_mtu</code> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">lcid_list</td><td>list of cids (channel ids) which will be started</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>number of channels which will be started </dd></dl>

</div>
</div>
<a id="ga536ec7f339490e662fffcd11a2525a5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga536ec7f339490e662fffcd11a2525a5d">&#9670;&nbsp;</a></span>wiced_bt_l2cap_ecrb_ConnectRsp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_l2cap_ecrb_ConnectRsp </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>trans_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>our_rx_mtu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>our_rx_mps</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gaff3eb04924fbda24d4efd4285c7da1bc">wiced_bt_ecrb_cid_list_t</a>&#160;</td>
          <td class="paramname"><em>lcid_list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structt_d_r_b.html">tDRB</a> **&#160;</td>
          <td class="paramname"><em>p_rx_drb_list</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to accept incoming Enhanced Credit-based L2CAP channel establishment, for which they had gotten a connect indication callback. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">result</td><td>: Result of the connection set by the application. L2CAP result codes (<a class="el" href="group__l2cap.html#L2CAP_CONN_RESULT">L2CAP_CONN_RESULT</a>) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">trans_id</td><td>: trans_id received in the <a class="el" href="group__l2cap.html#gaf52b6b2c8b5f0b7e29b9152e786c14b8">wiced_bt_l2cap_ecrb_connect_ind</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">our_rx_mtu</td><td>Our RX MTU to be used for the channels </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">our_rx_mps</td><td>Our RX MPS to be used for the channels </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd><code>our_rx_mps</code> must be less then <a class="el" href="structwiced__bt__cfg__ble__t.html#aff4b2166af3a3a1c01b4a1a01950139d">wiced_bt_cfg_ble_t::ble_max_rx_pdu_size</a> or <a class="el" href="structwiced__bt__cfg__br__t.html#a88a90b0eb26296fb9726344a1da02dde">wiced_bt_cfg_br_t::br_max_rx_pdu_size</a> for LE and BR/EDR transports respectively </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">lcid_list</td><td>list of cids (channel ids) which will be started as received in <a class="el" href="group__l2cap.html#gaf52b6b2c8b5f0b7e29b9152e786c14b8">wiced_bt_l2cap_ecrb_connect_ind</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The CID list in <code>lcid_list</code> must match the CID list returned in the callback. The DRB pointer list must contain a valid DRB pointer for each non-zero CID in the list that the application accepts. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_rx_drb_list</td><td>: list of the allocated <a class="el" href="structt_d_r_b.html">tDRB</a> 's, one for each <code>num_channels</code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>: the size of DRB allocated must be &gt;= <code>our_rx_mtu</code> </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

</div>
</div>
<a id="ga1ca1d8190c10328fb06b68573fb88ac3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ca1d8190c10328fb06b68573fb88ac3">&#9670;&nbsp;</a></span>wiced_bt_l2cap_ecrb_reconfigure()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_ecrb_reconfigure </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>new_rx_mtu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>new_rx_mps</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>num_channels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gaff3eb04924fbda24d4efd4285c7da1bc">wiced_bt_ecrb_cid_list_t</a>&#160;</td>
          <td class="paramname"><em>lcid_list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structt_d_r_b.html">tDRB</a> **&#160;</td>
          <td class="paramname"><em>p_rx_drb_list</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to reconfigure the MTU and or MPS of Enhanced Credit-based L2CAP channels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">new_rx_mtu</td><td>Our new RX MTU to be used for the channels </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>If <code>new_rx_mtu</code> is zero, no change to MTU is requested. Otherwise <code>new_rx_mtu</code> must be larger than the old MTU for all channels.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">new_rx_mps</td><td>Our new RX MPS to be used for the channels </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>If <code>new_rx_mts</code> is zero, no change to MPS is requested. Otherwise <code>new_rx_mps</code> must be larger than the old MPS for all channels. </dd>
<dd>
<code>new_rx_mps</code> must be less then <a class="el" href="structwiced__bt__cfg__ble__t.html#aff4b2166af3a3a1c01b4a1a01950139d">wiced_bt_cfg_ble_t::ble_max_rx_pdu_size</a> or <a class="el" href="structwiced__bt__cfg__br__t.html#a88a90b0eb26296fb9726344a1da02dde">wiced_bt_cfg_br_t::br_max_rx_pdu_size</a> for LE and BR/EDR transports respectively</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">num_channels</td><td>: Number of channels to be created </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lcid_list</td><td>: list of channels to be reconfigured </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_rx_drb_list</td><td>: list of the allocated <a class="el" href="structt_d_r_b.html">tDRB</a> 's, one for each <code>num_channels</code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>: the size of DRB allocated must be &gt;= <code>new_rx_mtu</code> </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>WICED_TRUE if reconfigure sent OK </dd></dl>

</div>
</div>
<a id="ga4d963f266263672e7a672c27a21cc711"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4d963f266263672e7a672c27a21cc711">&#9670;&nbsp;</a></span>wiced_bt_l2cap_get_current_config()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_get_current_config </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>lcid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structwiced__bt__l2cap__cfg__information__t.html">wiced_bt_l2cap_cfg_information_t</a> **&#160;</td>
          <td class="paramname"><em>pp_our_cfg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__l2cap.html#ga6827dfd644f1172740f9e69c0df06bc9">wiced_bt_l2cap_ch_cfg_bits_t</a> *&#160;</td>
          <td class="paramname"><em>p_our_cfg_bits</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structwiced__bt__l2cap__cfg__information__t.html">wiced_bt_l2cap_cfg_information_t</a> **&#160;</td>
          <td class="paramname"><em>pp_peer_cfg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__l2cap.html#ga6827dfd644f1172740f9e69c0df06bc9">wiced_bt_l2cap_ch_cfg_bits_t</a> *&#160;</td>
          <td class="paramname"><em>p_peer_cfg_bits</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function returns configurations of L2CAP channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">lcid</td><td>: Local CID </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pp_our_cfg</td><td>: pointer of our saved configuration options </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_our_cfg_bits</td><td>: valid config in bitmap </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pp_peer_cfg</td><td>: pointer of peer's saved configuration options </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_peer_cfg_bits</td><td>: valid config in bitmap</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if successful </dd></dl>

</div>
</div>
<a id="gabb82303005eb9c2c60358f49c3308455"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabb82303005eb9c2c60358f49c3308455">&#9670;&nbsp;</a></span>wiced_bt_l2cap_register()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t wiced_bt_l2cap_register </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>psm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structwiced__bt__l2cap__appl__information__t.html">wiced_bt_l2cap_appl_information_t</a> *&#160;</td>
          <td class="paramname"><em>p_cb_information</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Other layers call this function to register for L2CAP services. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">psm</td><td>: PSM value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_cb_information</td><td>: L2CAP cb info</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>PSM to use or zero if error. Typically, the PSM returned is the same as was passed in, but for an outgoing-only connection to a dynamic PSM, a "virtual" PSM is returned and should be used in the calls to <a class="el" href="group__l2cap__br__edr__api__functions.html#ga9ab4d34a72685f16e02e62605b4c302c" title="Higher layers call this function to create an L2CAP connection.">wiced_bt_l2cap_connect_req()</a>. </dd></dl>

</div>
</div>
<a id="ga4c7c609b52d8cc676006e7a9fc28f8f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4c7c609b52d8cc676006e7a9fc28f8f5">&#9670;&nbsp;</a></span>wiced_bt_l2cap_deregister()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_l2cap_deregister </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>psm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Other layers call this function to deregister for L2CAP services. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">psm</td><td>: PSM value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

</div>
</div>
<a id="ga6cf452fa369a74b725afe2bf2917abbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6cf452fa369a74b725afe2bf2917abbb">&#9670;&nbsp;</a></span>wiced_bt_l2cap_allocate_psm()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t wiced_bt_l2cap_allocate_psm </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Other layers call this function to find an unused PSM for L2CAP services. </p>
<dl class="section return"><dt>Returns</dt><dd>PSM to use. </dd></dl>

</div>
</div>
<a id="gacdd50150646f5c2b687cc631c10086f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacdd50150646f5c2b687cc631c10086f8">&#9670;&nbsp;</a></span>wiced_bt_l2cap_disconnect_req()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_disconnect_req </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>cid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to disconnect a channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cid</td><td>: CID value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if disconnect sent, else FALSE </dd></dl>

</div>
</div>
<a id="ga65566b353208f4de37cc91625a4abcbf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga65566b353208f4de37cc91625a4abcbf">&#9670;&nbsp;</a></span>wiced_bt_l2cap_disconnect_rsp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_disconnect_rsp </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>cid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to acknowledge the disconnection of a channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cid</td><td>: CID value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

</div>
</div>
<a id="ga2cd224a6bc467d85d853540f8abdec5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2cd224a6bc467d85d853540f8abdec5e">&#9670;&nbsp;</a></span>wiced_bt_l2cap_data_write()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t wiced_bt_l2cap_data_write </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>cid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>buf_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to write data with extended. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cid</td><td>: CID value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_buf</td><td>: Input buffer </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">buf_len</td><td>: p_buf buffer size </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>: refer <a class="el" href="group__l2cap.html#L2CAP_DATAWRITE_FLUSH">L2CAP data write flags</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>refer <a class="el" href="group__l2cap.html#L2CAP_DATAWRITE">L2CAP data write result</a> </dd></dl>

</div>
</div>
<a id="gaff27f5b67e8050fe84916d3a67006a50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaff27f5b67e8050fe84916d3a67006a50">&#9670;&nbsp;</a></span>wiced_bt_l2cap_set_idle_timeout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_set_idle_timeout </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>cid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>timeout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td>
          <td class="paramname"><em>is_global</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to set the idle timeout for a connection, or for all future connections. </p>
<p>The "idle timeout" is the amount of time that a connection can remain up with no L2CAP channels on it. A timeout of zero means that the connection will be torn down immediately when the last channel is removed. A timeout of 0xFFFF means no timeout. Values are in seconds.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cid</td><td>: CID value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">timeout</td><td>: Timeout value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">is_global</td><td>: TRUE, if global</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if command succeeded, FALSE if failed </dd></dl>

</div>
</div>
<a id="ga9834af87f6f31578b7095bdb4e55e459"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9834af87f6f31578b7095bdb4e55e459">&#9670;&nbsp;</a></span>wiced_bt_l2cap_set_idle_timeout_by_bd_addr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_set_idle_timeout_by_bd_addr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>timeout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a>&#160;</td>
          <td class="paramname"><em>transport</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to set the idle timeout for a connection. </p>
<p>The "idle timeout" is the amount of time that a connection can remain up with no L2CAP channels on it. A timeout of zero means that the connection will be torn down immediately when the last channel is removed. A timeout of 0xFFFF means no timeout. Values are in seconds. A bd_addr is the remote BD address. If bd_addr = BT_BD_ANY, then the idle timeouts for all active l2cap links will be changed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: BD Address </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">timeout</td><td>: Timeout value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">transport</td><td>: Transport (BR-EDR or LE)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if command succeeded, FALSE if failed</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This timeout applies to all logical channels active on the ACL link. </dd></dl>

</div>
</div>
<a id="gaebb8e6a7ac8add5164c86871af99747e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaebb8e6a7ac8add5164c86871af99747e">&#9670;&nbsp;</a></span>wiced_bt_l2cap_get_bdaddrby_handle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_get_bdaddrby_handle </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get BD address for the given HCI handle. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">handle</td><td>: HCI handle </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: Peer Bd Address</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>: TRUE if found lcb for the given handle, FALSE otherwise </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Bluetooth Host Stack Library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
